//
//  LMWebViewCookieManager.h
//  LMWebViewDemo
//
//  Created by mengmenglu on 5/16/16.
//  Copyright © 2016 Hangzhou TaiXuan Network Technology Co., Ltd. All rights reserved.
//  UIWebView的coookie处理类

#import <Foundation/Foundation.h>

@interface LMWebViewCookieManager : NSObject


+ (instancetype)shareManager;


/**
 *  设置浏览器缓存
 *
 *  @param domain NSHTTPCookieDomain
 *  @param path   NSHTTPCookiePath
 *  @param key    NSHTTPCookieName
 *  @param value  NSHTTPCookieValue
 */
- (void)setCookieWithDomain:(NSString *)domain path:(NSString *)path key:(NSString *)key value:(NSString *)value;


/**
 *  清空所有缓存缓存
 */
- (void)clearAllCookie;

@end
